package consts

const (
	JwtKey            = "1234565fsfdfsdfdsfasds"
	TokenName         = "Authorization"
	TokenPrefix       = "Bearer "
	SuperAdminAuthKey = "admin"
	DefaultPageNum    = 1
	DefaultPageSize   = 10
	UserIdKey         = "userId"
)

// 白名单
var WhiteList = []string{
	"/sys/login",
	"/sys/getCaptchaOpenFlag",
}

// 权限映射关系
var AuthMap = map[string]map[string]string{
	// "/sys/user/page": {
	// 	"value": "sys:user:page,sys:user:detail",
	// 	"mode":  "and",
	// },
}
